/* 路由配置文件 index.ts */
 
import { createWebHistory, createRouter } from 'vue-router'
 
// 定义路由配置
const routes = [
    {
        path: '/first',
        name: 'First',
        component: () => import('../components/report1/index.vue')
    },

    {
        path: '/first_1',
        name: 'First_1',
        component: () => import('../components/report1_1/index.vue')
    },
    // {
    //     path: '/first_1',
    //     name: 'First_1',
    //     component: () => import('../components/report1_1/index.vue')
    // },
    // // {
    // //     path: '/home',
    // //     name: 'Home',
    // //     component: () => import('/@/views/home/index.vue')
    // // }
    {
        path: '/second',
        name: 'Second',
        component: () => import('../components/report2/index.vue')
    },
    {
        path: '/second_1',
        name: 'Second_1',
        component: () => import('../components/report2_1/index.vue')
    },
    {
        path: '/third',
        name: 'third',
        component: () => import('../components/report3/index.vue')
    },
    {
        path: '/third_1',
        name: 'third_1',
        component: () => import('../components/report3_1/index.vue')
    },


    {
        path: '/test',
        name: 'test',
        component: () => import('../components/test.vue')
    },
]
 
// 创建路由实例
const router = createRouter({
    history: createWebHistory(),    // 导航历史记录模式
    routes
})
 
 
// 导出实例
export default router